
class Config:
    # 公共配置
    COMPRESS_ALGORITHM = 'gzip'
    COMPRESS_LEVEL=9


class MyDevelopmentConfig(Config):
    DEBUG = True
    HOST = "127.0.0.1"
    PORT = "8001"
    #Redis设置
    REDIS_PASSWORD = 'root6379XR01234567890'
    REDIS_HOSTNAME = 'myweb.com'
    REDIS_URL= f'redis://:{REDIS_PASSWORD}@{REDIS_HOSTNAME}:6379/2'
    SECRET_KEY="WQadfdag901%$"






